import http from "@/utils/http";
// 1为获取首页数据
export const  getHomeBanner = ()  =>http.get("/home/banner"); 
export const  getHomeCategory = ()  =>http.get("/home/category/mutli");
export const   getHomeHotAPI = ()  =>http.get("/home/hot/mutli");
export const getHomeNew = (limit = 4) => {
  return http({ url: "/home/new", data: { limit } });
};
export const getHomeGoodsGuessLikeAPI = (data) => {
  return http({
    method: 'GET',
    url: '/home/goods/guessLike',
    data,
  })
}